﻿<UserControl x:Class="HOG.Controls.LanguageControl"
   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d" xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" xmlns:im="clr-namespace:Microsoft.Expression.Interactivity.Media;assembly=Microsoft.Expression.Interactions"
	xmlns:ic="clr-namespace:Microsoft.Expression.Interactivity.Core;assembly=Microsoft.Expression.Interactions"
	Width="900" Height="600">
        <Canvas x:Name="MainMenu" Height="495" Width="483" Canvas.Left="208" Canvas.Top="42" RenderTransformOrigin="0.5,0.5">
            <Canvas.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Canvas.RenderTransform>                        
            <Image x:Name="Polska" Height="61" Width="99" Canvas.Left="78" Canvas.Top="247" Source="/HOG;Component/Images/Languages/Polska.png"  Stretch="Fill">
                <Image.Effect>
                    <DropShadowEffect BlurRadius="20"/>
                </Image.Effect>                
                <i:Interaction.Triggers>
                    <i:EventTrigger EventName="MouseLeftButtonDown">
                        <im:PlaySoundAction IsEnabled="True" Source="/HOG;Component/Sounds/sound_button_click.mp3" />
                    </i:EventTrigger>
                </i:Interaction.Triggers>
        </Image>
            <Image x:Name="WBrytania" Height="52" Width="104" Canvas.Left="301" Canvas.Top="252" Source="/HOG;Component/Images/Languages/WBrytania.png" Stretch="Fill">
                <Image.Effect>
                    <DropShadowEffect BlurRadius="20"/>
                </Image.Effect>
                <i:Interaction.Triggers>
                    <i:EventTrigger EventName="MouseLeftButtonDown">
                        <im:PlaySoundAction IsEnabled="True" Source="/HOG;Component/Sounds/sound_button_click.mp3" />
                    </i:EventTrigger>
                </i:Interaction.Triggers>
        </Image>
        </Canvas>
</UserControl>